From: Dennis Lan (dlan) Date: Wed, 4 Dec 2013 14:37:25 +0000 (+0000) Subject: xen: arm64: clear boot_first instead of boot_pgtable twice X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~5818 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=c04fbf58558de544b96c861bb88293524fa30afc;p=xen.git xen: arm64: clear boot_first instead of boot_pgtable twice Signed-off-by: Lan Yixun (dlan) Acked-by: Ian Campbell --- diff --git a/xen/arch/arm/mm.c b/xen/arch/arm/mm.c index e6753fee6e..399e54652d 100644 --- a/xen/arch/arm/mm.c +++ b/xen/arch/arm/mm.c @@ -470,7 +470,7 @@ void __init setup_pagetables(unsigned long boot_phys_offset, paddr_t xen_paddr) memset(boot_pgtable, 0x0, PAGE_SIZE); flush_xen_dcache(boot_pgtable); #ifdef CONFIG_ARM_64 - memset(boot_pgtable, 0x0, PAGE_SIZE); + memset(boot_first, 0x0, PAGE_SIZE); flush_xen_dcache(boot_first); #endif memset(boot_second, 0x0, PAGE_SIZE);